import myAjax from './ajax';
import { BASE_URL } from './config';

export const getNotebookList = () => myAjax(BASE_URL + 'note/all');

export const getFilterNotebookList = (note) => myAjax(BASE_URL + 'note/allbyobj', note, 'POST');

export const modifyNote = (note) => myAjax(BASE_URL + 'note/modify', note, 'POST');

export const createNote = (note) => myAjax(BASE_URL + 'note/create', note, 'POST');

export const deleteNote = (note) => myAjax(BASE_URL + 'note/delete', note, 'POST');
